tools/debugger/gdbsx: use MTF flag for HVM guests for single step
authorMukesh Rathor <mukesh.rathor@oracle.com>
Tue, 7 Sep 2010 18:17:16 +0000 (19:17 +0100)
committerMukesh Rathor <mukesh.rathor@oracle.com>
Tue, 7 Sep 2010 18:17:16 +0000 (19:17 +0100)
commit8b1e566cb2732b0723124a1dd096eda697bbfb3e
tree7cf1dad49f6811a4d6025ff7d54162f1378be90c
parentf6b82709092eaac42b5c892a8f5bbef92614c44a
tools/debugger/gdbsx: use MTF flag for HVM guests for single step

The attached patch first tries the MTF flag for HVM guest
single step, reverting to manually setting the TF flag  if MTF fails.

Tested on 4.0.1. Compile tested on unstable.

Signed-off-by: mukesh.rathor@oracle.com
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/debugger/gdbsx/xg/xg_main.c